package com.luhe.midi.mtrk.event;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * Midi事件
 */
public class Event {

    //时间差
    public int tick;

    //字节长度
    public int len;

    //内部字节
    public byte[] innerByte;

    //写出字节
    public byte[] writeByte() throws Exception {
        return null;
    }

    //从字节读取
    public Event readByte(byte[] bytes) throws IOException {
        return null;
    }

    //读输入流
    public Event readInputStream(InputStream inputStream) throws Exception {
        return null;
    }

    //写出输入流，返回写出的字节数据
    public byte[] writeOutputStream(OutputStream outputStream) throws Exception {
        return null;
    }
}
